package com.iflytek.aidemo.util;

import com.alibaba.sdk.android.oss.ClientException;
import com.alibaba.sdk.android.oss.ServiceException;
import com.iflytek.aidemo.util.OssAddBean;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

//oss上传回调
public  class OSSCallback implements OssUtil.OSSUploadHelperCallback {

    //上传成功List
    @Override
    public void onSuccess(List<String> allPath) {

    }
    //上传成功Map
    @Override
    public void onSuccess(Map<String, String> allPathMap) {

    }

    @Override
    public void onSuccessben(List<OssAddBean> allossbean) {

    }

    //上传失败
    @Override
    public void onFailure(ClientException clientException, ServiceException serviceException) {

    }
    //上传进度
    @Override
    public void onProgres(int progress) {

    }
}